Using Multimodal Large Language Models for Photo Analysis
| Thesis title: | Using Multimodal Large Language Models for Photo Analysis |
|---|---|
| Author: | Bubnov, Mykhailo |
| Thesis type: | Bachelor thesis |
| Supervisor: | Kliegr, Tomáš |
| Opponents: | Pavlíček, Luboš |
| Thesis language: | English |
| Abstract: | This thesis investigates the potential of multimodal large language models to be used as a tool for the official automated passport photo classification, an area where high accuracy is demanded. The publicly available MMLLM (Multi-Modal Large Language Model) LLaVa v1.6 Vicuna 13B model was used and adapted using different tactics. The primary objective was to create a model that could classify passport-style photographs according to criteria defined by an international standard. A manually curated dataset was created to serve both as a proof-of-concept and as training material for fine-tuning. In the process of fine-tuning, the learning rate and the number of epochs were systematically varied to achieve the best possible result. The fine-tuned model achieved both F1 and AUC of 0.77. These results demonstrate measurable improvements over the base model. Further improvements are suggested through enhanced dataset diversity and more granular supervision. |
| Keywords: | Multimodal models; Fine-tuning; LLaVA; Photo classification; Document photos; QLoRA |
| Thesis title: | Využití Multimodálních Velkých Jazykových Modelu pro analýzu fotografií |
|---|---|
| Author: | Bubnov, Mykhailo |
| Thesis type: | Bakalářská práce |
| Supervisor: | Kliegr, Tomáš |
| Opponents: | Pavlíček, Luboš |
| Thesis language: | English |
| Abstract: | Tato bakalářská práce zkoumá potenciál multimodálních velkých jazykových modelů jako nástrojů pro oficiální automatizovanou klasifikaci pasových fotografií, kde se vyžaduje vysoká přesnost. Byl použit veřejně dostupný multimodální model LLaVa v1.6 Vicuna 13B a byl upraven pomocí různých přístupů. Hlavním cílem bylo vytvořit model, který dokáže klasifikovat pasové fotografie podle kritérií definovaných mezinárodní normou. Byla ručně sestavena datová sada na trénování a testování modelu. Během procesu fine-tuningu byly systematicky manipulované hodnoty rychlosti učení a počtu epoch pro dosažení co nejlepšího výsledku. Finálně vyladěný model dosáhl hodnot F1 a AUC rovných 0,77. Tyto výsledky ukazují patrné zlepšení oproti výchozímu modelu, další vylepšení lze dosáhnout zvýšením rozmanitosti datové sady a granularity dohledu nad učením. |
| Keywords: | Multimodální modely; LLaVA; Klasifikace fotografií; Fotografie dokumentů; Fine-tuning; QLoRA |
Information about study
| Study programme: | Aplikovaná informatika |
|---|---|
| Type of study programme: | Bakalářský studijní program |
| Assigned degree: | Bc. |
| Institutions assigning academic degree: | Vysoká škola ekonomická v Praze |
| Faculty: | Faculty of Informatics and Statistics |
| Department: | Department of Information and Knowledge Engineering |
Information on submission and defense
| Date of assignment: | 12. 2. 2025 |
|---|---|
| Date of submission: | 26. 6. 2025 |
| Date of defense: | 25. 8. 2025 |
| Identifier in the InSIS system: | https://insis.vse.cz/zp/91370/podrobnosti |