#1440·ERNIE

【咨询】微调 PaddleOCR-VL 是否会影响原有的表格结构恢复能力?

作者: Circle930创建于 2026年3月20日更新于 2026年9月21日

Problem Description Background I used my own dataset (containing a mixture of text and tables) to fine-tune PaddleOCR-VL-1.5. After fine-tuning, I found that the output of the model was completely garbled, and the ability to recognize table structures was almost lost— the model could no longer maintain the original table layout. Questions I understand that the small amount of training data and the limitation of parameters may be the reasons for the poor performance. Before deepening the optimization of the training scheme, I would like to confirm a more basic question: whether fine-tuning PaddleOCR-VL will damage or overwrite the table structure recognition ability learned during the pre-training phase? Specifically: Is table structure understanding and text recognition learned as shared features in VLM? That is, fine-tuning on text data may have a negative impact on structure recognition? Or does the model maintain relatively independent capabilities, and fine-tuning on text data should be able to retain the original table recognition ability? Configuration Basic model: PaddleOCR-VL-1.5 Training data: about 100 (tested in the fine-tuning process) Training command: erniekit train examples/configs/PaddleOCR-VL/sft/run_ocr_vl_sft_16k-kailuan.yaml model_name_or_path=/workspace/models/PaddleOCR-VL-1.5 train_dataset_path=/workspace/ERNIE-release-v1.4/kailuan.jsonl output_dir=/workspace/kailuan_model packing=False max_seq_len=2048 padding=True dataloader_num_workers=0 per_device_train_batch_size=1 gradient_accumulation_steps=16 gradient_checkpointing=True recompute_granularity="full" bf16=True Phenomenon observed: After fine-tuning, the model output random characters, completely losing the ability to perceive table structures. Questions I would like to confirm whether fine-tuning itself is a possible cause of the loss of table structure recognition ability, or can it be basically determined that it is a problem of data quality/quantity. This will help me decide the next step: Improve the training dataset (increase the number of samples, improve the quality of annotation) or accept that fine-tuning will inevitably affect the ability to recognize table structures, and look for other solutions (such as multi-task learning, retaining some of the original weights, etc.).

内容来源: PaddlePaddle/ERNIE