Applied ML work

Models are only half the work.

These are five projects where I worked on the model side of AI: messy data, training stability, decoding, evaluation and inference. I have kept the good runs, the bad runs and the notebook evidence for both.

5 public repos
Code and notebooks open for review
4 submitted results
Leaderboard outcomes kept separate from notebook metrics
15 of 42
Best rank in the set
1 incomplete run
Kept public instead of dressed up as a success
Quick scan

If you have one minute, start here.

Each project below opens with the result, then the engineering choice that mattered, then the source that lets you check it.

01 · Generative modeling

32×32 image synthesis with WGAN GP

The first problem was not the GAN. It was getting 60 irregular JSONL shards into one clean training set without silently corrupting images.

Leaderboard FID
74.894
Rank
60 of 128
Best notebook FID
15.87

I recovered 58,852 usable images from base64 records containing 16 bit grayscale, RGBA, rotation metadata, inversion flags and alpha masks. I wrote one decode path that handled all of it before training started.

The model used a compact residual generator and a spectral normalized critic. I chose Wasserstein training with gradient penalty, a 3 to 1 critic update ratio and an EMA copy of the generator because stability was the main risk, not model size.

I also implemented the FID path around Inception features and checkpointed on that quality signal. The best recorded notebook FID came at epoch 45, not the last epoch. That is exactly why I did not treat the final checkpoint as automatically best.

Data
One decoder for mixed image modes, rotation, inversion, cropping and malformed records.
Stability
Gradient penalty, spectral normalization, minibatch standard deviation and EMA.
Selection
Checkpoint on FID instead of assuming the last epoch is the best model.
FID curve from the executed GAN experiment
Executed training curve from the public repository. Best recorded validation FID: 15.87 at epoch 45.
02 · Speech AI

Automatic speech recognition for Uyghur

Low resource speech made the decoder just as important as the acoustic model. This project is also the clearest example here of why I keep failed runs visible.

Leaderboard CER
0.138
Rank
40 of 93
Recorded debug CER
0.9762

I built a CTC speech pipeline around Wav2Vec2 and multilingual XLSR, with Uyghur text normalization, a custom character vocabulary, dynamic padding and 16 kHz audio preprocessing.

The main modeling direction moved from the English pretrained Wav2Vec2 base model toward multilingual XLSR. I also added a KenLM based beam search experiment instead of relying only on greedy CTC decoding.

The saved fast trial is ugly: 10 percent of the data, one epoch, CER 0.9762 and a NaN average training loss. I left it there because it is real. It shows the debugging path instead of only the final story.

Representation
Move toward multilingual XLSR for a language far from the English pretraining distribution.
Decoding
Experiment with beam search plus an Uyghur language model instead of greedy character decoding only.
Failure
Keep the unstable debug run documented and separate it from the submitted leaderboard result.
Important distinction

The public notebook directly records the weak debug CER. The leaderboard CER shown above is the submitted result from the competition record, not a number I relabel as notebook validation.

03 · Image restoration

4× super resolution for noisy low light images

A small EDSR model was enough. Most of the gain came from the loss, the training schedule and how inference was handled.

Leaderboard score
38.044
Best validation Y PSNR
38.7034 dB
Training pairs
1,105

I used a compact EDSR style network with 8 residual blocks, 32 feature channels and PixelShuffle. At roughly 0.30M parameters it was deliberately small for the amount of paired data available.

The more interesting part was the objective. I combined luminance reconstruction, RGB reconstruction, structural similarity and edge consistency instead of optimizing plain RGB error alone.

Training was staged. The main run reached roughly 38.31 dB, fine tuning pushed Y PSNR to 38.665 dB, and the strongest validation ensemble reached 38.7034 dB. Inference used overlap aware tiling and test time augmentation.

Model size
Keep the network compact to reduce overfitting pressure on a relatively small paired dataset.
Objective
Optimize luminance, structure and edge fidelity instead of one generic reconstruction loss.
Inference
Use tiled prediction, test time augmentation, EMA, SWA and checkpoint comparison rather than a single raw forward pass.
Fine tuning PSNR curve from the public super resolution repository
Fine tuning evidence from the executed notebook. The public repo records 38.665 dB before the final validation ensemble.
04 · Dense vision

Depth estimation from degraded low light images

This one taught me how easy it is to build a model that trains normally while the targets are quietly wrong.

Leaderboard RMSE
22.855
Rank
15 of 42
Best validation RMSE
0.0730

The model used a U Net with a pretrained EfficientNet B0 encoder for dense single channel depth prediction. Training used 6,686 image and depth pairs with ImageNet initialization and low light aware augmentation.

The important bug risk was in the targets. Some depth maps were 8 bit and some were 16 bit. I checked the mask range and normalized against the correct maximum instead of assuming one format.

Validation RMSE fell from 0.0974 to 0.0730 over ten epochs while training loss also fell smoothly. That clean curve is useful evidence because it shows the model improving without the instability seen in the ASR debug run.

Backbone
Use transfer learning for feature extraction and U Net skip connections to preserve spatial detail.
Data check
Normalize 8 bit and 16 bit depth targets separately instead of letting a silent scale bug contaminate training.
Evaluation
Track dense RMSE every epoch and keep the internal normalized metric distinct from the competition output scale.
Validation RMSE curve from the public depth estimation repository
Validation RMSE from the executed experiment. The recorded curve reaches 0.0730.
05 · Low resource NLP

Multi script emotion classification with Gemma 3

This one did not finish. I still keep it in the portfolio because the setup and the failure are both useful evidence of how I think now.

Training examples
7,176
Emotion classes
6
Status
Incomplete

The task covered low resource text across multiple scripts. I loaded Gemma 3 1B Instruct with 8 bit quantization and LoRA, then framed classification as conditional text generation with macro F1 as the intended metric.

Before training, I checked tokenization on the actual scripts. One short 12 word sample expanded to roughly 150 tokens. That was a useful warning that the tokenizer was inefficient on underrepresented writing systems and that runtime assumptions based on English text would be wrong.

The mistake was time planning. I built the full pipeline first and left too little margin for the actual tuning and inference run. The saved notebook therefore has the modeling setup, preprocessing, metric and inference code, but no completed fine tuning result.

Compute
Use 8 bit loading and LoRA rather than full parameter tuning on constrained hardware.
Tokenizer
Inspect script level token expansion before committing to sequence length and runtime assumptions.
Lesson
Budget training and inference time backwards from the deadline before spending the whole window building the pipeline.
No fabricated result

The repository does not claim a validation score or leaderboard result because the saved tuning run never completed. I would rather show an unfinished experiment accurately than turn it into fake proof.

What this work adds

The model side of my Applied AI work.

KIA shows how I integrate AI inside a product. These projects show the other side: preprocessing, training, decoding, metric design, inference and failure analysis. I want both on the record because an AI system is only as good as the parts you can inspect when something goes wrong.

Data
Decode messy formats, validate targets, normalize carefully.
Training
Choose objectives and stabilization around the failure mode, not the trendiest architecture.
Evaluation
Keep notebook metrics, validation metrics and leaderboard metrics clearly separated.
Failure
Document broken runs instead of deleting the evidence that explains how the system improved.
Applied AI Engineer

I care about what the model does, and what the evidence says it did.

If you want to inspect the work directly, the repos and notebooks are public. If you want the full system and product side, KIA is the better next page.